<template>
  <div class="d-flex py-3 px-2" style="align-items: center; width: 100%;">
    <StatisticCard v-for="(item, index) in dataList"
                   :key="index"
                   :label="item.label"
                   :value="item.value"
                   :unit="item.unit" />
  </div>
</template>
<script>
import StatisticCard from '@/components/table/StatisticCard.vue'

export default {
  components: {StatisticCard},
  data() {
    return {
      dataList: [
        {
          label: "医院总数",
          value: 114,
          unit: '家'
        },
        {
          label: "观察床位数",
          value: 22,
          unit: '张'
        },
        {
          label: "空闲床位数",
          value: 0,
          unit: '张'
        },
        {
          label: "救治中心",
          value: 63,
          unit: '个'
        }
      ]
    };
  },
}

</script>
